package com.lemon.exam.service;

import com.lemon.exam.common.crud.BaseService;
import com.lemon.exam.entity.po.UserPO;
import com.lemon.exam.entity.vo.RoleClassJobVO;
import com.lemon.exam.entity.vo.UserVO;
import reactor.core.publisher.Flux;
import reactor.core.publisher.Mono;

import java.util.Map;

/**
 * 用户表 服务接口
 *
 * @author Lemon
 * @since 2025/03/24 10:14:39
 */
public interface IUserService extends BaseService<UserPO, Long> {
    Mono<RoleClassJobVO> findSelect();

    Flux<UserVO> findUserByRoleId(Long roleId);

    Mono<Map<Long, String>> findUserIdAndUserNameByClassId(Long classId);
}